package cn.wolfcode.service;

import cn.wolfcode.domain.Consumption;
import cn.wolfcode.query.ConsumptionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IConsumptionService {

    int deleteByPrimaryKey(Long id);

    int insert(Consumption record);

    Consumption selectByPrimaryKey(Long id);

    List<Consumption> selectAll();

    int updateByPrimaryKey(Consumption record);

    PageInfo<Consumption> list(ConsumptionQueryObject qo);

    Consumption selectByCno(String cno);
}
